import service from '@/utils/request'

const DictTypeApi = {
  addDictType: function(data) {
    return service.post('dictType/add', data)
  },
  editDictType(data) {
    return service.put('dictType/update', data)
  },
  updateDictTypeState(data) {
    return service.put('dictTypeupdateState', data)
  },
  getDictTypeInfo(data) {
    return service.get('dictType/get', {params: data })
  },
  listDictType(data) {
    return service.get('dictType/list',{params: data});
  },

}

export default DictTypeApi
